package cn.itsource.zcn.order.controller;

import cn.itsource.zcn.order.domain.OrderAddress;
import cn.itsource.zcn.order.service.IOrderAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;


/**
 * 订单地址(OrderAddress)表控制层
 *
 * @author makejava
 * @since 2021-08-26 11:11:26
 */
@RestController
@RequestMapping("/orderaddress")
public class OrderAddressController {
    /**
     * 服务对象
     */
    @Autowired
    private IOrderAddressService tOrderAddressService;

    /**
     * 查询全部数据
     *
     * @return List<>
     */
    @RequestMapping("")
    public List<OrderAddress> queryAll() {
        return tOrderAddressService.queryAll();
    }

}
